<template>
  <!-- 导航部分 -->
  <view class="nav">
    <view class="text" v-show="isShow">课程</view>
    <view class="search-car">
      <text class="iconfont icon-sousuo shopping one"></text>
      <text class="iconfont icon-gouwuche shopping"></text>
    </view>
  </view>
</template>
<script>
export default {
  name: "SearchNav",
  data() {
    return {
      isShow: true,
    };
  },
};
</script>
<style lang="scss">
.nav {
  width: 100%;
  display: flex;
  // padding: 20rpx;
  justify-content: space-between;
  align-items: center;
  font-size: 40rpx;
  text-align: center;
  .text {
    width: 100rpx;
    margin-left: 15rpx;
  }
  .search-car {
    width: 200rpx;
    display: flex;
    align-items: center;
    // padding: 20rpx;
    margin-right: -70rpx;
    text {
      display: inline-block;
      // margin-right: -10rpx;
      // padding-right: 10rpx;
      width: 40rpx;
      height: 40rpx;
      line-height: 40rpx;
      font-size: 50rpx;
    }
  }
}
.shopping {
  margin-right: 100rpx;
}
.one {
  margin-right: 20rpx;
}
</style>